package com.snowwolf.application.controller.user;

import com.snowwolf.application.controller.user.service.UserBusService;
import com.snowwolf.baseUtil.base.RestResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: topsnowwolf
 * @description:
 * @date: Create in 2019/3/3 15:42
 * @modified by:
 * @versions：0.1.0
 */
@RestController
@RequestMapping("/user/api/")
public class UserController {
    @Autowired
    private UserBusService userBusService;
    @RequestMapping("/get")
    public RestResponse getUser(Long userId){
        return userBusService.getUser(userId);
    }
}
